﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Infrastructure
{
    /// <summary>
    /// 
    /// </summary>
    [JsonObject]
    public class TreeQueryObject<T> : QueryObject<T>, ITreeObject
    {
        /// <summary>
        /// 
        /// </summary>
        public string NodeKey
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string SuperKey
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string GroupKey
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string SortKey
        {
            get;
            set;
        }
    }
    /// <summary>
    /// 
    /// </summary>
    [JsonObject]
    public class TreeQueryObject : QueryObject, ITreeObject
    {
        /// <summary>
        /// 
        /// </summary>
        public string NodeKey
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string SuperKey
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string GroupKey
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string SortKey
        {
            get;
            set;
        }
    }
}
